package com.blue.vo.workflow;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 流程实例表
 *
 * @author nanjie.chen
 * @email 15696471158@163.com
 * @date 2025-03-07
 */
@Data
public class InstanceVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "流程实例ID")
    private String id;

    @Schema(description = "流程定义ID")
    private String definitionId;

    @Schema(description = "当前所处节点ID")
    private String currentNodeId;

    @Schema(description = "实例状态(0-running,1-completed,2-rejected,3-back,4-revoked)")
    private String status;

    @Schema(description = "流程发起人ID")
    private String initiatorId;

    @Schema(description = "开始时间")
    private String startTime;

    @Schema(description = "结束时间")
    private String endTime;


}
